package com.ruoyi.project.student.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;

@Data
public class Student {
    @TableId(type = IdType.AUTO) // 主键注解
    private Long id;
    private String name;
    private String number;
    private Long classId;
}
